<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
	<?php include_http_metas() ?>
	<?php include_metas() ?>
	<?php include_title() ?>
	<?php include_stylesheets() ?>
	<?php include_javascripts() ?>
	
	<!--[if gte IE 6]>
		<link href="./css2/ie.css" rel="stylesheet" media="screen, projection" type="text/css" />
	<![endif]-->
	
	<link href="./images/design/favicon.ico" rel="shortcut icon" type="image/x-icon" />
	
	<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
	<meta http-equiv="content-script-type" content="text/javascript" />
	<meta http-equiv="content-style-type" content="text/css" />
	<meta http-equiv="content-language" content="de" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta name="author" content="Steven Klix" />
	<meta name="publisher" content="Steven Klix" />
	<meta name="copyright" content="2012" />
	<meta name="creation_date" content="2012-01-01" />
	<meta name="revisit-after" content="7 days" />
	
</head>
<body>

<div id="wrapper">
	
	<div id="top">
		
		<div class="content">
			<div id="wildnetzwerk">
				<ul id="wnw-uebersicht">
					<li><img alt="WildNetzwerk" src="<?php echo image_path('icons/top_wildnetzwerk.png')?>" /><a>WildNetzwerk</a></li>
				</ul>
				<ul id="wnw-detail">
					<li><img alt="WildProjekte" src="<?php echo image_path('icons/top_wildprojekte.png')?>" /><a href="http://www.wildersueden.org/activeCollab/">WildProjekte</a></li>
					<li><img alt="WildMail" src="<?php echo image_path('icons/top_wildmail.png')?>" /><a href="http://webmail.wildersueden.org">WildMail</a></li>
				</ul>
			</div>
			<?php if($sf_user->isAuthenticated()): ?>
			<ul>
				<li>
					<img alt="<?php echo $sf_user->getDisplayName(); ?>" src="<?php echo image_path('icons/top_user.png'); ?>" title="<?php echo $sf_user->getDisplayName(); ?>" /><?php if($sf_user->isMember()): ?><a href="<?php echo url_for('member_show', array('sf_subject' => $sf_user->Member, 'unit' => $sf_user->Member->getOrganizationalUnit())); ?>"><?php echo $sf_user->getDisplayName(); ?></a><?php else:?><a href="#"><?php echo $sf_user->getDisplayName(); ?></a><?php endif;?>
				</li>
				<li><img alt="Einstellungen" src="<?php echo image_path('icons/top_config.png'); ?>" /><a href="<?php echo url_for('user_self_service');?>">Einstellungen</a></li>
				<li><img alt="Ausloggen" src="<?php echo image_path('icons/top_logout.png')?>" /><a href="<?php echo url_for('logout');?>">Ausloggen</a></li>
			</ul>
			<?php endif;?>
		</div>
		
	</div>
	
	<div id="header">
		
		<div class="content">
			<div id="logo"></div>
			
			<ul id="nav">
				<?php $current_nav_tab = get_slot('current_nav_tab', 'home');?>
				<li<?php if($current_nav_tab == 'home'):?> class="nav_current"<?php endif;?>><a href="<?php echo url_for('homepage');?>">Home</a></li>
				<li<?php if($current_nav_tab == 'member'):?> class="nav_current"<?php endif;?>><a href="<?php echo url_for('my_members');?>">Mitglieder</a></li>
				
				<?php if($sf_user->isSuperAdmin()):?>
				<li<?php if($current_nav_tab == 'admin'):?> class="nav_current"<?php endif;?>><a href="<?php echo url_for('sf_guard_user');?>">Administration</a></li>
				<?php endif;?>
				
<!--				<li><a href="./seiten/veranstaltungen.html">Veranstaltungen</a></li>-->
<!--				<li><a href="./seiten/ausbildung.html">Ausbildung</a></li>-->
<!--				<li class="nav_dropdown nav_icon_only">-->
<!--					<a>&nbsp;</a>-->
<!--					<ul class="nav_menu">-->
<!--						<li><a href="#">Zug&auml;nge verwalten</a></li>-->
<!--					</ul>-->
<!--				</li>-->
			</ul>
			
		</div>
		
	</div>
	
	<div id="stripe">
		
		<div class="content">
			
			<h1<?php if(!has_slot('breadcrumb1')):?> class="no_breadcrumbs"<?php endif;?>><?php include_slot('heading');?></h1>
			<?php if(has_slot('breadcrumb1')):?>
				<div id="breadcrumbs">
				<?php include_slot('breadcrumb1');?>
				<?php for($i = 2; $i < 10; $i++):?>
					<?php if(has_slot('breadcrumb'.$i)):?>
						&raquo; <?php include_slot('breadcrumb'.$i)?>
					<?php else:?>
						<?php break;?>
					<?php endif;?>
				<?php endfor;?>
				</div>
			<?php endif;?>
			<?php if(has_slot('stripe_search')):?>
			<div id="search">
				<?php include_slot('stripe_search');?>
			</div>
			<?php endif;?>
		</div>
		
	</div>
	
	<div class="xgrid">
		<?php include_partial('global/flashes');?>
		<?php echo $sf_content ?>
	</div>
	
	<div id="nach-oben"><a href="#top">nach oben</a></div>
	
	<div id="footer">
		<div class="content">
			<p class="left"><strong>mein.wildersueden.org</strong> ist ein Service des Pfadfinderbund Weltenbummler Landesverband Baden-W&uuml;rttemberg e.V.</p>
			<p class="right">&copy; [2006 - 2012] ML + SK</p>
		</div>
	</div>
	
</div>

<script src="<?php echo javascript_path('start.js');?>" type="text/javascript"></script>

</body>
</html>